#!/usr/bin/env python3

def main():
    s = ''
    while not s == '_stop':
        try:
            s = input('input> ')
        except:
            print()
            break
        try:
            i = int(s) ** 13
        except:
            print('error: input is not an integer')
        else:
            print('s ** 13 = {0}'.format(i))
    print('gg')

if __name__ == '__main__':
    main()
